import request from "@/utils/request";

// 新增企业诊断文件
export function sumbitFile(data) {
  return request({
    url: "/system/file",
    method: "post",
    data: data,
  });
}
export function getFileList(query) {
  return request({
    url: "/system/file/list",
    method: "get",
    params: query,
  });
}

//通过
export function passFile(data) {
  return request({
    url: "/system/file",
    method: "put",
    data: data,
  });
}
//不通过
export function againFile(data) {
  return request({
    url: "/system/file/again",
    method: "put",
    data: data,
  });
}
